package org.mat.ipaas.ucenter.service.dto.system.vo;

import lombok.Data;
import org.mat.ipaas.ucenter.service.dto.system.entity.SysUserDTO;

/**
 *  用户名和头像信息
 * @Author taoYan
 * @Date 2022/8/8 17:06
 **/
@Data
public class UserAvatarDTO {
    
    private String id;
    
    private String realname;
    
    private String avatar;
    
    public UserAvatarDTO(){
        
    }
    public UserAvatarDTO(SysUserDTO sysUserDTO){
        this.id = sysUserDTO.getId();
        this.realname = sysUserDTO.getRealname();
        this.avatar = sysUserDTO.getAvatar();
    }
}
